package com.zhuang.blog.back.service;

import com.zhuang.blog.back.bean.User;

/**
 * @Classname UserService
 * @Description 用一句话描述类的作用
 * @Date 2021/10/30 8:39
 * @Author by dell
 */

public interface UserService {
    /**
     * 登录校验
     * @param user 用户
     * @param code 验证码
     * @return
     */
    User login(User user, String code, String rightCode);

    void verifyOldPwd(String oldPwd,User user);

    void updateUser(User user);
}
